package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 学生考试表
 * @TableName student_exam
 */
@TableName(value ="student_exam")
@Data
public class StudentExam implements Serializable {
    /**
     * 学生提交考试的id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long examId;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 分数
     */
    private Integer fraction;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}